//
//  HMUserAccountModel.h
//  OC新浪微博
//
//  Created by wyman on 16/4/12.
//  Copyright © 2016年 wyman. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HMUserAccount.h"
@interface HMUserAccountModel : NSObject
@property (nonatomic, assign) BOOL userLogin;
@property (nonatomic, strong) HMUserAccount *userAccount;

-(void)loadAccessToken:(NSString *)code withblock:(void(^)(HMUserAccount *userAccount,NSError *error))onetokenblock;
+(HMUserAccountModel *)sharedInstance;
-(void)loadUserInfoBlock:(void(^)(NSError *error))infoblock;

@end
